// PreHook.h: interface for the CPreHook class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PREHOOK_H__5A1B18D5_D197_4430_BC3C_D59DABDAB477__INCLUDED_)
#define AFX_PREHOOK_H__5A1B18D5_D197_4430_BC3C_D59DABDAB477__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPreHook  
{
public:
	bool ReHook();
	bool UnHook();
	BYTE m_old8Src[8];
	PROC m_oldFunc;
	HMODULE m_hModule;
	BYTE m_preHook[8];
	CPreHook(LPSTR hModule,LPSTR cOldfunc,PROC myFunc);
	virtual ~CPreHook();

};

#endif // !defined(AFX_PREHOOK_H__5A1B18D5_D197_4430_BC3C_D59DABDAB477__INCLUDED_)
